package com.ruoyi.ap.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class PlantVo implements Serializable {
    private Long id;
    private Long farmerId;
    private Long villageId;
    private Long categoryId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dt;

    @Excel(name = "农户")
    private String farmerName;

    @Excel(name = "村庄")
    private String villageName;

    @Excel(name = "产品分类")
    private String categoryName;

    @Excel(name = "小地名")
    private String area;

    @Excel(name = "种植面积")
    private BigDecimal acreage;

    private BigDecimal locationX;
    private BigDecimal locationY;
}
